import { AxiosRequestConfig } from 'axios'
import serverApiUtils from '@/core/utils/serverApiUtils'
import lodash from 'lodash'
import { R } from '@/components/axios/interface'
import http from '@/components/axios/http'
import PageResponse from '@/core/framework/types/model/response/PageResponse'
import BaseAdminServerApi from '@/core/framework/serverapi/BaseAdminServerApi'
import UpmsRoleAccountResponse from '@/core/upms/generated/types/model/response/UpmsRoleAccountResponse'
import upmsAdminApiConfig from '@/core/upms/generated/apiconfig/upmsAdminApiConfig'

const moduleApiConfig = upmsAdminApiConfig.upmsRoleAccount

class UpmsRoleAccountAdminServerApi extends BaseAdminServerApi<string, UpmsRoleAccountResponse> {}

const adminServerApi = new UpmsRoleAccountAdminServerApi({ adminApiConfig: moduleApiConfig })

export default adminServerApi
